package SpringCloudBase;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * Hello world!
 *
 */
@SpringBootApplication
@EnableZuulProxy //启用Zuul，自带熔断和EurekaClient
public class ZuulFilterApplication
{
    public static void main( String[] args )
    {
        System.out.println( "正在加在Zuul-filter，请稍等！" );
        SpringApplication.run(ZuulFilterApplication.class,args);
    }
}
